package ct.common.constant;

import ct.common.bean.Val;

/**
 * @Author Jeremy Zheng
 * @Date 2021/2/10 21:09
 * @Version 1.0
 */
//名称常量枚举类
public enum Names implements Val {

    NAMESPACE("ct")
    ,TABLE("ct:callLog")
    ,CF_CALLER("caller")
    ,CF_CALLEE("callee")
    ,INFO("info")
    ,TOPIC("ct");

    private String name;

    private Names(String name){
        this.name=name;
    }


    @Override
    public void setValue(Object val) {
        this.name=(String) val;
    }

    @Override
    public String getValue() {
        return name;
    }
}
